projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9467be
)
(Fmake_network_process) [HAVE_GETADDRINFO]: Clear
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 20 Mar 2007 08:51:03 +0000
(08:51 +0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 20 Mar 2007 08:51:03 +0000
(08:51 +0000)
immediate_quit before calling freeaddrinfo. Add BLOCK_INPUT
around freeaddrinfo.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 0c9a9527c39097f76b6bb6206076c7c368ec5f92..10bfa762a9b073e740ec992db134b01469becaa6 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-3336,13
+3336,17
@@
usage: (make-network-process &rest ARGS) */)
#endif
}
+ immediate_quit = 0;
+
#ifdef HAVE_GETADDRINFO
if (res != &ai)
- freeaddrinfo (res);
+ {
+ BLOCK_INPUT;
+ freeaddrinfo (res);
+ UNBLOCK_INPUT;
+ }
#endif
- immediate_quit = 0;
-
/* Discard the unwind protect for closing S, if any. */
specpdl_ptr = specpdl + count1;